﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebLibSolPedBE;

namespace WebApplication1
{
    public partial class formReservaDetalle : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                CargarDatosCabecera();
            }
        }

        private void CargarDatosCabecera()
        {
            if (Session["objReserva"] != null)
            {
                ReservaBE objPedCab = (ReservaBE)Session["objReserva"];
                lblReserva.Text = objPedCab.RSNUM;
                lblPosicion.Text = objPedCab.RSPOS;
                lblCentro.Text = objPedCab.WERKS;
                lblCantidad.Text = objPedCab.BDMNG;
                lblUnidad.Text = objPedCab.MEINS;
                lblDescripcion.Text = objPedCab.MAKTX;
                lblUsuario.Text = objPedCab.USNAM;
                lblCentroCoste.Text = objPedCab.KOSTL;
                //lblSolicitante.Text = objPedCab.TARGET_VAL;
            }

        }
    }
}